package com.mr.userclient.dao;

import com.mr.userclient.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Class: UserDao
 * User (作者):MRui
 * TODO (描述)：userDao
 * Date 2018-11-15 23:33
 */
public interface UserDao extends JpaRepository<User,String> {

    /**
    * User (作者): MRui
    * TODO (描述)：根据openid查找user
    * Data：2018-11-15 23:37
    */
    User findByOpenid(String openid);

}
